package com.jiazhong.jdbc.spring;


import com.jiazhong.jdbc.spring.controller.UserController;
import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Auther:shuXin
 */
/*public class TxByAllAnnotationTest {
    @Test
    public void test01(){
        ApplicationContext ac = new AnnotationConfigApplicationContext(SpringConfig.class);
        UserController bean = ac.getBean(UserController.class);
        bean.buyBook(1,1);
    }
}*/
